# -*- coding: utf-8 -*-
# Copyright (c) 2022 Robert Bosch GmbH and Microsoft Corporation
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: sdv/databroker/v1/broker.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from sdv.proto import types_pb2 as sdv_dot_databroker_dot_v1_dot_types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1esdv/databroker/v1/broker.proto\x12\x11sdv.databroker.v1\x1a\x1dsdv/databroker/v1/types.proto\"*\n\x14GetDatapointsRequest\x12\x12\n\ndatapoints\x18\x01 \x03(\t\"\xb0\x01\n\x12GetDatapointsReply\x12I\n\ndatapoints\x18\x01 \x03(\x0b\x32\x35.sdv.databroker.v1.GetDatapointsReply.DatapointsEntry\x1aO\n\x0f\x44\x61tapointsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.sdv.databroker.v1.Datapoint:\x02\x38\x01\"\xb4\x01\n\x14SetDatapointsRequest\x12K\n\ndatapoints\x18\x01 \x03(\x0b\x32\x37.sdv.databroker.v1.SetDatapointsRequest.DatapointsEntry\x1aO\n\x0f\x44\x61tapointsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.sdv.databroker.v1.Datapoint:\x02\x38\x01\"\xa9\x01\n\x12SetDatapointsReply\x12\x41\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\x31.sdv.databroker.v1.SetDatapointsReply.ErrorsEntry\x1aP\n\x0b\x45rrorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0e\x32!.sdv.databroker.v1.DatapointError:\x02\x38\x01\"!\n\x10SubscribeRequest\x12\r\n\x05query\x18\x02 \x01(\t\"\x9c\x01\n\x0eSubscribeReply\x12=\n\x06\x66ields\x18\x01 \x03(\x0b\x32-.sdv.databroker.v1.SubscribeReply.FieldsEntry\x1aK\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.sdv.databroker.v1.Datapoint:\x02\x38\x01\"#\n\x12GetMetadataRequest\x12\r\n\x05names\x18\x01 \x03(\t\"=\n\x10GetMetadataReply\x12)\n\x04list\x18\x01 \x03(\x0b\x32\x1b.sdv.databroker.v1.Metadata2\xfc\x02\n\x06\x42roker\x12_\n\rGetDatapoints\x12\'.sdv.databroker.v1.GetDatapointsRequest\x1a%.sdv.databroker.v1.GetDatapointsReply\x12_\n\rSetDatapoints\x12\'.sdv.databroker.v1.SetDatapointsRequest\x1a%.sdv.databroker.v1.SetDatapointsReply\x12U\n\tSubscribe\x12#.sdv.databroker.v1.SubscribeRequest\x1a!.sdv.databroker.v1.SubscribeReply0\x01\x12Y\n\x0bGetMetadata\x12%.sdv.databroker.v1.GetMetadataRequest\x1a#.sdv.databroker.v1.GetMetadataReplyb\x06proto3')



_GETDATAPOINTSREQUEST = DESCRIPTOR.message_types_by_name['GetDatapointsRequest']
_GETDATAPOINTSREPLY = DESCRIPTOR.message_types_by_name['GetDatapointsReply']
_GETDATAPOINTSREPLY_DATAPOINTSENTRY = _GETDATAPOINTSREPLY.nested_types_by_name['DatapointsEntry']
_SETDATAPOINTSREQUEST = DESCRIPTOR.message_types_by_name['SetDatapointsRequest']
_SETDATAPOINTSREQUEST_DATAPOINTSENTRY = _SETDATAPOINTSREQUEST.nested_types_by_name['DatapointsEntry']
_SETDATAPOINTSREPLY = DESCRIPTOR.message_types_by_name['SetDatapointsReply']
_SETDATAPOINTSREPLY_ERRORSENTRY = _SETDATAPOINTSREPLY.nested_types_by_name['ErrorsEntry']
_SUBSCRIBEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeRequest']
_SUBSCRIBEREPLY = DESCRIPTOR.message_types_by_name['SubscribeReply']
_SUBSCRIBEREPLY_FIELDSENTRY = _SUBSCRIBEREPLY.nested_types_by_name['FieldsEntry']
_GETMETADATAREQUEST = DESCRIPTOR.message_types_by_name['GetMetadataRequest']
_GETMETADATAREPLY = DESCRIPTOR.message_types_by_name['GetMetadataReply']
GetDatapointsRequest = _reflection.GeneratedProtocolMessageType('GetDatapointsRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETDATAPOINTSREQUEST,
  '__module__' : 'sdv.databroker.v1.broker_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.GetDatapointsRequest)
  })
_sym_db.RegisterMessage(GetDatapointsRequest)

GetDatapointsReply = _reflection.GeneratedProtocolMessageType('GetDatapointsReply', (_message.Message,), {

  'DatapointsEntry' : _reflection.GeneratedProtocolMessageType('DatapointsEntry', (_message.Message,), {
    'DESCRIPTOR' : _GETDATAPOINTSREPLY_DATAPOINTSENTRY,
    '__module__' : 'sdv.databroker.v1.broker_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.GetDatapointsReply.DatapointsEntry)
    })
  ,
  'DESCRIPTOR' : _GETDATAPOINTSREPLY,
  '__module__' : 'sdv.databroker.v1.broker_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.GetDatapointsReply)
  })
_sym_db.RegisterMessage(GetDatapointsReply)
_sym_db.RegisterMessage(GetDatapointsReply.DatapointsEntry)

SetDatapointsRequest = _reflection.GeneratedProtocolMessageType('SetDatapointsRequest', (_message.Message,), {

  'DatapointsEntry' : _reflection.GeneratedProtocolMessageType('DatapointsEntry', (_message.Message,), {
    'DESCRIPTOR' : _SETDATAPOINTSREQUEST_DATAPOINTSENTRY,
    '__module__' : 'sdv.databroker.v1.broker_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.SetDatapointsRequest.DatapointsEntry)
    })
  ,
  'DESCRIPTOR' : _SETDATAPOINTSREQUEST,
  '__module__' : 'sdv.databroker.v1.broker_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.SetDatapointsRequest)
  })
_sym_db.RegisterMessage(SetDatapointsRequest)
_sym_db.RegisterMessage(SetDatapointsRequest.DatapointsEntry)

SetDatapointsReply = _reflection.GeneratedProtocolMessageType('SetDatapointsReply', (_message.Message,), {

  'ErrorsEntry' : _reflection.GeneratedProtocolMessageType('ErrorsEntry', (_message.Message,), {
    'DESCRIPTOR' : _SETDATAPOINTSREPLY_ERRORSENTRY,
    '__module__' : 'sdv.databroker.v1.broker_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.SetDatapointsReply.ErrorsEntry)
    })
  ,
  'DESCRIPTOR' : _SETDATAPOINTSREPLY,
  '__module__' : 'sdv.databroker.v1.broker_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.SetDatapointsReply)
  })
_sym_db.RegisterMessage(SetDatapointsReply)
_sym_db.RegisterMessage(SetDatapointsReply.ErrorsEntry)

SubscribeRequest = _reflection.GeneratedProtocolMessageType('SubscribeRequest', (_message.Message,), {
  'DESCRIPTOR' : _SUBSCRIBEREQUEST,
  '__module__' : 'sdv.databroker.v1.broker_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.SubscribeRequest)
  })
_sym_db.RegisterMessage(SubscribeRequest)

SubscribeReply = _reflection.GeneratedProtocolMessageType('SubscribeReply', (_message.Message,), {

  'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), {
    'DESCRIPTOR' : _SUBSCRIBEREPLY_FIELDSENTRY,
    '__module__' : 'sdv.databroker.v1.broker_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.SubscribeReply.FieldsEntry)
    })
  ,
  'DESCRIPTOR' : _SUBSCRIBEREPLY,
  '__module__' : 'sdv.databroker.v1.broker_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.SubscribeReply)
  })
_sym_db.RegisterMessage(SubscribeReply)
_sym_db.RegisterMessage(SubscribeReply.FieldsEntry)

GetMetadataRequest = _reflection.GeneratedProtocolMessageType('GetMetadataRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETMETADATAREQUEST,
  '__module__' : 'sdv.databroker.v1.broker_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.GetMetadataRequest)
  })
_sym_db.RegisterMessage(GetMetadataRequest)

GetMetadataReply = _reflection.GeneratedProtocolMessageType('GetMetadataReply', (_message.Message,), {
  'DESCRIPTOR' : _GETMETADATAREPLY,
  '__module__' : 'sdv.databroker.v1.broker_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.GetMetadataReply)
  })
_sym_db.RegisterMessage(GetMetadataReply)

_BROKER = DESCRIPTOR.services_by_name['Broker']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _GETDATAPOINTSREPLY_DATAPOINTSENTRY._options = None
  _GETDATAPOINTSREPLY_DATAPOINTSENTRY._serialized_options = b'8\001'
  _SETDATAPOINTSREQUEST_DATAPOINTSENTRY._options = None
  _SETDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_options = b'8\001'
  _SETDATAPOINTSREPLY_ERRORSENTRY._options = None
  _SETDATAPOINTSREPLY_ERRORSENTRY._serialized_options = b'8\001'
  _SUBSCRIBEREPLY_FIELDSENTRY._options = None
  _SUBSCRIBEREPLY_FIELDSENTRY._serialized_options = b'8\001'
  _GETDATAPOINTSREQUEST._serialized_start=84
  _GETDATAPOINTSREQUEST._serialized_end=126
  _GETDATAPOINTSREPLY._serialized_start=129
  _GETDATAPOINTSREPLY._serialized_end=305
  _GETDATAPOINTSREPLY_DATAPOINTSENTRY._serialized_start=226
  _GETDATAPOINTSREPLY_DATAPOINTSENTRY._serialized_end=305
  _SETDATAPOINTSREQUEST._serialized_start=308
  _SETDATAPOINTSREQUEST._serialized_end=488
  _SETDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_start=226
  _SETDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_end=305
  _SETDATAPOINTSREPLY._serialized_start=491
  _SETDATAPOINTSREPLY._serialized_end=660
  _SETDATAPOINTSREPLY_ERRORSENTRY._serialized_start=580
  _SETDATAPOINTSREPLY_ERRORSENTRY._serialized_end=660
  _SUBSCRIBEREQUEST._serialized_start=662
  _SUBSCRIBEREQUEST._serialized_end=695
  _SUBSCRIBEREPLY._serialized_start=698
  _SUBSCRIBEREPLY._serialized_end=854
  _SUBSCRIBEREPLY_FIELDSENTRY._serialized_start=779
  _SUBSCRIBEREPLY_FIELDSENTRY._serialized_end=854
  _GETMETADATAREQUEST._serialized_start=856
  _GETMETADATAREQUEST._serialized_end=891
  _GETMETADATAREPLY._serialized_start=893
  _GETMETADATAREPLY._serialized_end=954
  _BROKER._serialized_start=957
  _BROKER._serialized_end=1337
# @@protoc_insertion_point(module_scope)
